package org.example.ch02.p25;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String input=sc.nextLine().trim();
        String[] data=input.split(" ");
        int sum=0;
        boolean hasNonNumeric=false;
        for (String item:data) {
            try{
                int num=Integer.parseInt(item);
                sum+=num;
            }catch(NumberFormatException e){
                hasNonNumeric=true;
            }
        }
        System.out.println(sum);
        if(hasNonNumeric){
            System.out.println("attention");
        }
        sc.close();
    }
}
